/*
 * Created on 2006-6-28
 */
package entity;

import java.util.*;


public class QueryTableEntry {
    int qid;
    int focalOid;
    int kValue;
    int criticalOid;
    HashSet<Integer> resultSet;
    HashSet<Cell> affectedCells;
    double nextEventTime;
    
    public QueryTableEntry(int queryID, int focalObjectID, int kvalue){
        this.qid = queryID;
        this.focalOid = focalObjectID;
        this.kValue = kvalue;
        this.resultSet = new HashSet<Integer>();        
        this.nextEventTime = 0;
    }
    
   
    public String toString(){
    	return "qid:"+this.qid+", focal object:"+this.focalOid+", k:"+this.kValue+"result:"+this.resultSet
        +", critical object:"+this.criticalOid+", affected cells:"+this.affectedCells;
    }

}
